package com.xixiake.net.record;

import com.android.volley.Request;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import com.xixiake.net.BaseInput;

/**
 * Created by c-wanghengli on 2017/5/29.
 */
public class UserInfoRecord {

    public static class Input extends BaseInput<UserInfoRecord>{

        protected Input() {
            super("?c=User&a=api_userinfo", Request.Method.POST, UserInfoRecord.class);
        }

        public static BaseInput buildInput(){
            Input input = new Input();
            return input;
        }

    }

    @Expose
    @SerializedName(value = "errorCode")
    public int errorCode;

    @Expose
    @SerializedName(value = "errorMsg")
    public String errorMsg;

    @Expose
    @SerializedName(value = "data")
    public Data data = new Data();

    public static class Data {

        @Expose
        @SerializedName(value = "id")
        public String id;

        @Expose
        @SerializedName(value = "username")     // 昵称
        public String username;

        @Expose
        @SerializedName(value = "userheader")
        public String userheader;

        @Expose
        @SerializedName(value = "useremail")
        public String useremail;

        @Expose
        @SerializedName(value = "userarea")
        public String userarea;

        @Expose
        @SerializedName(value = "useraddress")
        public String useraddress;

        @Expose
        @SerializedName(value = "usergender")
        public String usergender;

        @Expose
        @SerializedName(value = "userborn")       // 性别
        public String userborn;

        @Expose
        @SerializedName(value = "usershortdesc")  // 个性签名
        public String usershortdesc;

        @Expose
        @SerializedName(value = "userdesc")
        public String userdesc;

        @Expose
        @SerializedName(value = "userphone")
        public String userphone;

        @Expose
        @SerializedName(value = "loginid")        // 西行客号
        public String loginid;

        @Expose
        @SerializedName(value = "ispasswdset")
        public String ispasswdset;

        @Expose
        @SerializedName(value = "innstatus")
        public String innstatus;

        @Expose
        @SerializedName(value = "restaurantstatus")
        public String restaurantstatus;

        @Expose
        @SerializedName(value = "clubstatus")
        public String clubstatus;

        @Expose
        @SerializedName(value = "fansnum")    // 粉丝数量
        public String fansnum;

        @Expose
        @SerializedName(value = "concernnum")   // 关注数量
        public String concernnum;
    }
}
